using System;
using System.Collections.Generic;
using System.Text;

namespace Zsa.Emulation
{

    /// <summary>
    /// Base exception for all nes device exceptions.
    /// </summary>
    public abstract class NesMachineException : ApplicationException
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="T:NesDeviceException"/> class.
        /// </summary>
        /// <param name="message">The message.</param>
        public NesMachineException(string message)
            : base(message, null)
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="T:NesDeviceException"/> class.
        /// </summary>
        /// <param name="message">The message.</param>
        /// <param name="innerExcep">The inner excep.</param>
        public NesMachineException(string message, Exception innerExcep)
            : base (message, innerExcep)
        {
        }
    }
}
